/*
 * @Descripttion: 
 * @Author: junhuafly
 * @Date: 2020-02-26 18:36:07
 * @LastEditors: junhuafly
 * @Email: junhuafly@163.com
 * @LastEditTime: 2020-03-11 17:23:41
 */
// components/headImg/index.js
Component({
  /**
   * 组件的属性列表
   */
  externalClasses: ['custom-class', 'image-class'],
  properties: {
    src: {
      type: String,
      value: '/pages/images/icon/3.jpg'
    },
    isMsater: {
      type: Boolean,
      value: false
    },
    size: {
      type: String,
      value: 'xs'
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    sizeMap: {
      xs: '46.8rpx',
      sm: '63rpx',
      md: '83.6rpx',
      xmd: '130rpx',
      lg: '172rpx'
    }
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})